package org.ch00.test04.demo07.demo01;

/**
 * @author CSY
 * @date 2025 - 03 - 04
 */
public class MainTest {
    public static void main(String[] args) {
        Computer c = new Computer();

        USB sp = new SmartPhone();

        USB computer = new Computer();

        c.conn(sp);

        c.conn(computer);

        computer.read();

        computer.write("加油");
    }
}
